package com.syni.mdd.sjb.common.datatreaure.entity.vo.rp.userChannel;

import com.syni.mdd.sjb.common.datatreaure.constants.Constants;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class GetMyAllChannelRpVo {
    List<StoresVo> channels = new ArrayList<>();

    @Data
    public static class StoresVo{
        /**
         *  小程序状态，0：未完成基本流程，1：等待创建小程序，2：小程序创建成功，
         *  3：小程序资质异常，4：法人认证失败，5：小程序创建成功，6：小程序正在发布，7：小程序发布成功
         */
//        private String vendorName;
//        private String logoUrl;
//        private String typeName;
//        private String labelName;
//        private String addr;
        private Integer businessId;
        //private List<ChannelVo> channels = new ArrayList<>();
//        private String fontColor = "#FF6163";
//        private String backColor = "#FFF7F7";
        private Integer channel = 2;
        private Integer id = 0;
        private String channelName = "";
        private String minAppId;
        private Integer newNums = 0;
        private Integer isQualification = 0;
        private Integer isClaimShop = 0;
        private Integer isSubmitMddInfo = 0;
        private Integer qualificationStatus = 0;
        private Integer isChooseMinIndustry = 0;
        private Integer isConfirmPreData = 0;
        private Integer isChooseTemplate = 0;
        private Integer minAppStatus = 0;
        private MinAppSubIndustry minAppSubIndustry;
        private String appid;
        private Integer groupStatus = 0;
        private String storeId;
        private Integer minAppCreateStep = 0;
        private Integer totalMinAppReleaseStep = 0;
        private String shareImg = "";
        private List<MinAppBody> minAppBodies = new ArrayList<>();
    }

    @Data
    public static class MinAppSubIndustry{
        private Integer id;
        private String subIndustryName;
    }

    @Data
    public static class MinAppBody{
        private Integer jumpId = Constants.COMMON_FLAG_TRUE_INT;
        private String icon;
        private String name;
        private String jumpUrl;
    }

    @Data
    public static class ChannelVo{
        private Integer channel = 2;
        private Integer id = 0;
        private Integer isFill = 0;
        private String minAppId;
        private Integer isFinish = 0;
        //APP状态
        private Integer appStatus = 0;
        //微信小程序当前审核进度步骤
        private Integer wxReleaseStep = -1;
        //微信小程序审核状态说明
        private String wxReleaseStatus = "wait";
        private Integer businessId;
        private String minAppName = "";
    }
}
